package main

import "fmt"

// Author : CSR丶WARRIOR
// Time ： 2020/10/16  0:46
// TOOLS : GoLand
// FILENAME : creteObject.go
// STATEMENT: 对象的创建

type Person struct {
	name   string
	gender string
	age    uint
}
type Engineer struct {
	p Person
}

func main() {
	p := Person{
		name:   "jack",
		gender: "male",
		age:    20,
	}
	fmt.Println(p) //{jack male 20}
}
